package org.jeecg.common.util;

import java.util.regex.Pattern;

public class ValidateUtils {
    //验证手机号
    public static boolean validateMobilePhone(String mobile) {
        Pattern pattern = Pattern.compile("^[1]\\d{10}$");
        return pattern.matcher(mobile).matches();
    }

}
